<?php
namespace App\Api\Repositories;

use App\Api\Models\ShoppingCard;

class ShoppingCardRepositorie
{
    public static function getCardAdd($data)
    {
        $data['add_time'] = time();

        $data['end_time'] = time()+7200;

        return ShoppingCard::getCardCreate($data);
    }
}